using System;
using System.Collections;
using System.Collections.Generic;
namespace QLVMBAYDomain
{
    public partial class ChuyenBay 
    {
        #region Declarations

		private string _macb = String.Empty;
		private string _tencb = String.Empty;
		private System.DateTime _tgkhoihanh = new DateTime();
		private System.TimeSpan _tgbay = new TimeSpan(0,0,0);
		private int _slhanhkhach = default(Int32);
		private HangHangKhong _Hanghangkhong = null;
		private TuyenBay _Tuyenbay = null;
    
		#endregion

        #region Constructors

        public ChuyenBay() {
            DsChiTietCB = new List<ChiTietChuyenBay>();
        }

        #endregion

        #region Properties

		public virtual string MaChuyenBay
        {
            get { return _macb; }
			set
			{
				_macb = value;
			}
        }
		
		public virtual string TenChuyenBay
        {
            get { return _tencb; }
			set
			{
				_tencb = value;
			}
        }

        public DateTime NgayBay
        {
            get;
            set;
        }

        public virtual System.TimeSpan TgKhoiHanh
        {
            get;
            set
           ;
        }
		
		public virtual System.TimeSpan ThoiGianBay
        {
            get { return _tgbay; }
			set
			{
				_tgbay = value;
			}
        }
		
		public virtual int SLHanhKhach
        {
            get { return _slhanhkhach; }
			set
			{
				_slhanhkhach = value;
			}
        }
		
		public virtual HangHangKhong ItemHangHangKhong
        {
            get { return _Hanghangkhong; }
            set
			{
				_Hanghangkhong = value;
			}
        }
		
		public virtual TuyenBay ItemTuyenBay
        {
            get { return _Tuyenbay; }
            set
			{
				_Tuyenbay = value;
			}
        }

        public int ChieuBay { get; set; }

		public override int GetHashCode()
		{
			return 0;
		}
        public List<ChiTietChuyenBay> DsChiTietCB
        {
            get;
            set;
        }
		
        #endregion
    }
}
